package com.wyfan.scaffold.common.config.redis;

import lombok.Data;

/**
 * redis 配置属性
 */
@Data
class RedisProperties {

    private String host = "";
    private int port = 6379;
    private String password = "";
    private int database = 0;
    private long timeout = 500;
    private int maxActive = 32;
    private int maxWait = -1;
    private int maxIdle = 8;
    private int minIdle = 0;
    private String sentinelMaster = "";
    private String sentinelNodes = "";
    private String nodes = "";

}
